<?php /**  Beardev**/// no direct accessdefined( '_JEXEC' ) or die( 'Restricted access' );$db			=& JFactory::getDBO();require_once ( JPATH_ROOT.'/media/bearleague/languages/default.php' );		$query = "SELECT lang_file FROM #__bl_languages WHERE is_default = 1";	$db->setQuery($query);	$lang_file = $db->loadResult();	if ($lang_file) {			if (preg_match("/[0-9a-z]/", $lang_file)) {				require_once ( JPATH_ROOT.'/media/bearleague/languages/'.$lang_file.'.php' );			}			}?>